package com.ciaojian.bytedance.vo.bytedance;

import lombok.Data;

import java.io.Serializable;
import java.util.List;
@Data
public class DeliveryVo {

    private String token;

    private String storeId;
    private String workerId;


    /**
     * error_code : 0
     * description : success
     * verify_token : xxx
     * out_order_no : out123456
     * order_id : ot123456
     * certificates : [{"encrypted_code":"xxx","certificate_id":"123456","item_order_id":"ot123"}]
     */

    private String verify_token;
    private String out_order_no;
    private String order_id;
    private List<CertificatesBean> certificates;

    @Data
    public static class CertificatesBean implements Serializable {
        /**
         * encrypted_code : xxx
         * certificate_id : 123456
         * item_order_id : ot123
         */

        private String encrypted_code;
        private String certificate_id;
        private String item_order_id;
    }
}
